package cn.qh.seasonal.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import lombok.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * (Factory)表实体类
 *
 * @author makejava
 * @since 2021-11-02 08:45:46
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(value = "Factory")
@SuppressWarnings("serial")
public class Factory extends Model<Factory> {
    @TableId(type = IdType.AUTO)
    private int id; //主键


    @TableField(value = "gcName")
    private String gcName;  //工厂名称     }

    @TableField(value = "type")
    private String type;

    @TableField(value = "parentId")
    private int parentId;

    @TableField(value = "pId")
    private int pId;
}
